MATLAB PTSD intensifies

Kinja'd!!! "TheHondaBro" (wwaveform)
04/12/2017 at 22:11 • Filed to: None

Kinja'd!!!14 Kinja'd!!! 16
Kinja'd!!!

DISCUSSION (16)


Kinja'd!!! If only EssExTee could be so grossly incandescent > TheHondaBro
04/12/2017 at 22:27

Kinja'd!!!12

Kinja'd!!!


Kinja'd!!! PunjabiSexMachine > TheHondaBro
04/12/2017 at 22:39

Kinja'd!!!0

You think MATLAB is bad, wait til you learn assembly

The following gets two numbers from the user and adds them. Also the code is hardware dependent. When I tried to run this it gave me a bunch of errors. . .

Kinja'd!!!

Kinja'd!!!

The F35 has 500,000 lines of assembly in it.


Kinja'd!!! tromoly > TheHondaBro
04/12/2017 at 22:50

Kinja'd!!!0

*stares at folder containing MatLab lapsim I should be working on*

Yeah, sounds about right.


Kinja'd!!! promoted by the color red > TheHondaBro
04/12/2017 at 23:00

Kinja'd!!!0

I walked out of college with my mechanical engineering degree and a promise to myself that I would never touch programming again.

I now have to work on a programming project. The upside is that it’s in C++, which makes more sense.


Kinja'd!!! TheTurbochargedSquirrel > PunjabiSexMachine
04/12/2017 at 23:01

Kinja'd!!!0

ASSEMBLY CAN GO DROWN IN A MASSIVE BAG OF SLOPPY DICKS! WHY DOES EVERYTHING HAVE TO REQUIRE SO MANY STEPS? I was so happy to be done with assembly so I can move back to things like C.


Kinja'd!!! PunjabiSexMachine > TheTurbochargedSquirrel
04/12/2017 at 23:08

Kinja'd!!!1

C is literally the lowest language that anyone should really know. I know of very few assembly applications(besides the F35 and Rollercoaster Tycoon). The only reason anyone learns it is because they hate fun . . .


Kinja'd!!! TheTurbochargedSquirrel > PunjabiSexMachine
04/12/2017 at 23:11

Kinja'd!!!0

Assembly sees some use for microcontrollers when you are really resource constrained or just want to be super efficient. I have never found a case where it was worth putting up with programming in assembly for.


Kinja'd!!! PunjabiSexMachine > TheTurbochargedSquirrel
04/12/2017 at 23:27

Kinja'd!!!0

Alright yeah that makes sense. I actually wanted to learn how to code assembly for Z80 and 6052 processors but I haven’t found the time, and the only reason would be for fun I guess, since no one really uses those now.


Kinja'd!!! Bandit - destroyed his car > PunjabiSexMachine
04/12/2017 at 23:31

Kinja'd!!!0

Hey, how’s life going?


Kinja'd!!! TheTurbochargedSquirrel > PunjabiSexMachine
04/12/2017 at 23:32

Kinja'd!!!0

I am in a class on programming the HCS12 microcontroller and they made us use assembly for the first half of the course. I am never going to ever use a HCS12 again. Everything I do uses Atmel or PIC chips.


Kinja'd!!! PunjabiSexMachine > Bandit - destroyed his car
04/13/2017 at 01:11

Kinja'd!!!0

Life’s good, kind of busy since I’m trying to learn stuff outside of school stuff. What about you?


Kinja'd!!! bhtooefr > TheTurbochargedSquirrel
04/13/2017 at 07:03

Kinja'd!!!0

Mind you, the point of C and C++ is that the compiler’s supposed to be efficient enough to match or even beat hand-coded assembly. (Trick is, it often helps to know how your code translates to what the CPU actually executes, and what your CPU’s good at. And then, many 1970s and older architectures (*cough*6502*cough*) are poorly suited to C (they can run it - anything that’s Turing complete can - but even the core language does things that they don’t do efficiently). And, AFAIK, there’s not any C compilers that are anywhere near recent for Z80...)


Kinja'd!!! bhtooefr > PunjabiSexMachine
04/13/2017 at 07:11

Kinja'd!!!0

You’d be surprised - although newer architectures are quite common now, 6502 and Z80 are still around in embedded.

As one example, calculators tend to use one of four CPU architectures nowadays:

6502 (Kinpo’s go-to CPU for basically anything scientific but not graphing)

Z80 or eZ80 (TI-82/83/84 family of graphing calculators, and yes, a calculator called a “TI-82" (or more completely, “TI-82 Stats.fr”) still exists for the French market (it’s actually a TI-83 non-Plus))

SuperH (Casio graphing calculators)

ARM (everything HP (including some financial calculators) except for the 35s (which is a Kinpo 6502-based design), TI Nspire)

I left 68000 off because the TI-89 has all but been replaced by the Nspire.

And, then, you’ve got Chinese toys - Winbond has a whole range of 6502-based MCUs meant for those.


Kinja'd!!! bhtooefr > TheHondaBro
04/13/2017 at 07:15

Kinja'd!!!0

I’ve not had to touch MATLAB in school or professionally (other than installing it for the engineers), but I’ve had to help an engineering student friend with her MATLAB homework.

...actually, the documentation’s really good, and it wasn’t bad.

Still, when I got my associate’s in computer programming, I realized in the last quarter that I did not want to do this for a living . Much happier with desktop support.


Kinja'd!!! Bandit - destroyed his car > PunjabiSexMachine
04/13/2017 at 15:01

Kinja'd!!!0

Life is hectic, I’m sure you remember how school was you junior year.


Kinja'd!!! PunjabiSexMachine > Bandit - destroyed his car
04/25/2017 at 00:06

Kinja'd!!!1

The biggest problem is, is that each class takes a lot of time but I’m not sure each professor realizes this. You basically end up having to cut certain corners to get through the semester.